package compiler;
interface PVM
{
	final int MEM_MIN = 0;    //User memory lowest bound.
	final int MEM_MAX = 8192; //ser memory highest bound.
	//final int FILENAME_LENGTH = 80;
									 //Maximum input filename length.

	//the CODE id Const
	final int OP_ADD = 0;
	final int OP_AND = 1;
	final int OP_ASSIGN = 2;
	final int OP_CONST = 3;
	final int OP_DIV = 4;
	final int OP_DO = 5;
	final int OP_EPROC = 6;
	final int OP_EPROG = 7;
	final int OP_EQU = 9;
	final int OP_FIELD = 10;
	final int OP_GT = 11;
	final int OP_GOTO = 12;
	final int OP_INDEX = 13;
	final int OP_LT = 14;
	final int OP_MINUS = 15;
	final int OP_MOD = 16;
	final int OP_MUL = 17;
	final int OP_NE = 18;
	final int OP_NGT = 19;
	final int OP_NLT = 20;
	final int OP_NOT = 21;
	final int OP_OR = 22;
	final int OP_CALL = 23;
	final int OP_PROC = 24;
	final int OP_PROG = 25;
	final int OP_READ = 26;
	final int OP_SUB = 27;
	final int OP_VALUE = 28;
	final int OP_VARIABLE = 29;
	final int OP_VARPRM = 30;
	final int OP_WRITEINT = 31;
	final int OP_WRITEBOOL = 32;

	final int OP_LOCVALUE = 50;
	final int OP_LOCVAR = 51;
	final int OP_GLBVALUE = 52;
	final int OP_GLBVAR = 53;
	final int OP_SMPVAL = 54;
	final int OP_SMPASSIGN = 55;
	final int OP_GLBCALL = 56;
}

